Response
| Field | Description | Type |
|---|---|---|
| status | "success|error|in progress" – status | |
| code | Completion code | integer |
| message | Error message | string |
| assort_name | Product name | string |
| unit_name | Package name | string |
| barcode | GTIN | string |
| assort_code | Product article / Vendor code | string |
| items | Package contents | array |
Items:
| Field | Description | Type |
|---|---|---|
| assort_name | Product name | string |
| assort_code | Product article / Vendor code | string |
| barcode | GTIN | string |
| unit_name | Package name | string |
| code | Marking code of the sample inside | string |
Error codes:
| Field | Description | Type |
|---|---|---|
| 0 | Done | |
| 137 | Code %s not found in the database | |
| 180 | Product with code %s not found in department %s |